package com.wwj.study.factory.fact;

/**
 * Created by lenovo on 2018/11/14.
 */
public class FactoryTest {

    public static void main(String[] args) {
        Factory factory=new FactoryCat();

        System.out.println(factory.getObject().getName());
    }
}
